package mf.com.mapper.sys;

import com.github.pagehelper.PageInfo;
import mf.com.dto.system.SysUserDto;
import mf.com.entity.system.SysRole;
import mf.com.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: lmf
 * @Create: 2024/3/23 14:36
 * Description:  用户相关Mapper
 */
@Mapper
public interface SysUserMapper {
   public SysUser selectUserInfoByUsername(String username);

   public List<SysUser> findByPage(SysUserDto sysUserDto);

   public  Integer  save(SysUser sysUser);

   public  Integer  update(SysUser sysUser);

   public  Integer  delete(Integer id);
   public  SysUser  findByUserName(String userName);


}
